package com.example.server.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * (Stage)表实体类
 *
 * @author makejava
 * @since 2022-11-21 09:10:56
 */
@SuppressWarnings("serial")
public class Stage extends Model<Stage> {
    //课程视频id
    private Integer id;
    //课程id
    private Integer courseid;
    //阶段名称
    private String stagename;
    //阶段号（第几阶段）
    private Integer stagequeue;
    //课程视频地址
    private String videoaddress;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCourseid() {
        return courseid;
    }

    public void setCourseid(Integer courseid) {
        this.courseid = courseid;
    }

    public String getStagename() {
        return stagename;
    }

    public void setStagename(String stagename) {
        this.stagename = stagename;
    }

    public Integer getStagequeue() {
        return stagequeue;
    }

    public void setStagequeue(Integer stagequeue) {
        this.stagequeue = stagequeue;
    }

    public String getVideoaddress() {
        return videoaddress;
    }

    public void setVideoaddress(String videoaddress) {
        this.videoaddress = videoaddress;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    }

